<template>
        <tr>
          <td>{{date}}</td>
          <td>{{uname}}</td>
          <td>{{diagnosis}}</td>
          <td>{{hil}}</td>
          <td @click="fn">{{info}}</td>
        </tr>
</template>

<script>
export default {
  name: 'MyPatients',
 props:['date','uname','diagnosis','hil','info'],

 methods:{
  fn() {
  alert(`
    日期：${this.date}
    医生姓名：${this.uname}
    诊断结果：${this.diagnosis}
    处方信息：${this.hil}
  `)
 }
 }
};

</script>

<style scoped lang="less">

</style>
